<!--
	Carnegie Mellon University
	School of Computer Science
	MSIT eBusiness Technology

	Team 8 - Infinity (2011 Spring)
	infinity-team8@googlegroups.com

	Professor: Jeffrey L. Eppinger
	Program Faculty: Sujata Telang
-->

<jsp:include page="employee-template-top.jsp" />
<jsp:include page="employee-topnav.jsp" />

<%@ page import="databean.CustomerBean" %>

<div id="header">
	<h1>Reset Customer Password</h1>
</div>
	
<jsp:include page="employee-sidebar.jsp" />

<div id="content">

<div id="form-wrapper">
<jsp:include page="employee-error-list.jsp" />
	<form method="POST" action="employee-reset-customer-password.do">
	
	<div class="line-wrap">

			<label>Customer (Username)  </label>
			<div class="field">
					<select style="margin-left:-250px" name="userName">
						<%
							CustomerBean[] customers = (CustomerBean[]) request.getAttribute("customerList");
							
							for (CustomerBean customer : customers) {
						%>
							<option value="<%=customer.getUserName()%>"><%=customer.getFirstName()%> <%=customer.getLastName()%> (<%=customer.getUserName()%>)</option>
						<%
							}
						%>
					</select>
					</div>
	</div>
	<div class="line-wrap">
				<label>New Password  </label>
				<div class="field"><input class="medium" style="margin-left:-250px" type="password" name="newPassword" value=""/></div>

	</div>
	<div class="line-wrap">
				<label>Confirm New Password  </label>
				<div class="field"><input class="medium" style="margin-left:-250px" type="password" name="confirmPassword" value=""/></div>
	</div>

					<div class="button"><input type="submit" name="button" value="Change Password"/></div>

	</form>
</div>
</div>
<jsp:include page="footer.jsp" />
